import styled from 'styled-components';
import spBtn2 from '@/assets/img/sprite_button2.png';

export const RankRemarkWrapper = styled.div`
  .head {
    width: 670px;
    margin: auto;
    margin-top: 30px;
    border-bottom: 1px solid #cfcfcf;
  }
  .comment {
    width: 670px;
    height: 50px;
    padding: 15px 0;
    margin: auto;
    display: flex;
    border-top: 1px dotted #ccc;
    margin-bottom: 10px;
  }
  .info {
    margin-left: 10px;
    width: 100%;
    .content {
      .name {
        color: #0c73c2;
      }
      .comments {
      }
    }
    .ctrl {
      margin-top: 20px;
      display: flex;
      justify-content: space-between;
      color: #999;
      .praise_icon {
        display: inline-block;
        width: 15px;
        height: 14px;
        background-position: -150px 0;
        margin-right: 10px;
        margin-bottom: -3px;
      }
      .praise {
        text-decoration: none;
        color: #333;
      }
      span {
        color: #ccc;
      }
      .callback {
      }
    }
  }
  .pg {
    margin: auto;
  }
  .commentariesDetail {
    margin-bottom: 60px;
    .ant-pagination {
      .ant-pagination-item {
        border: 1px solid #ccc;
        border-radius: 2px;
        font-size: 12px;
      }
      .ant-pagination-item-active {
        background: url(${spBtn2}) 0 -650px no-repeat;
        > a {
          color: #fff;
        }
      }
    }
  }
`;

export const CommentatorWrapper = styled.div`
  width: 670px;
  margin: auto;
  margin-top: 30px;
  height: 97px;
  display: flex;
  .commentatorImg {
    > img {
      width: 50px;
      height: 50px;
    }
  }
  .commentaries {
    position: relative;
    width: 604px;
    margin-left: 16px;
    > textarea {
      width: 594px;
      height: 50px;
      resize: none;
      padding: 5px;
      border: 1px solid #cdcdcd;
      background-color: #fff;
    }
  }
  .ctrl {
    width: 604px;
    margin-top: 10px;
    > i {
      display: inline-block;
      width: 18px;
      height: 18px;
      margin-right: 10px;
    }
    .expressions {
      background-position: -40px -490px;
    }
    .designation {
      background-position: -60px -490px;
    }
    .right {
      float: right;
      line-height: 20px;
      > span {
        margin-right: 10px;
        color: #999;
      }
      > a {
        display: inline-block;
        width: 46px;
        height: 25px;
        background-position: -84px -64px;
        text-align: center;
        color: #fff;
      }
    }
  }
  .arrclr {
    width: 15px;
    height: 15px;
    font-size: 25px;
    font-style: normal;
    font-weight: normal;
    color: #cdcdcd;
    position: absolute;
    top: 10px;
    margin-left: -7px;
  }
  .arrclrIn {
    width: 15px;
    height: 15px;
    font-size: 25px;
    font-style: normal;
    font-weight: normal;
    color: #fff;
    position: absolute;
    top: 10px;
    margin-left: -6px;
  }
`;
